﻿#blazor-error-ui {
  background-color: var(--mud-palette-error);
  color: var(--mud-palette-error-text);
  bottom: 0;
  box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
  display: none;
  left: 0;
  padding: 0.6rem 1.75rem 0.7rem 1.25rem;
  position: fixed;
  width: 100%;
  z-index: 9999;
}

#blazor-error-ui .reload {
  color: inherit;
  text-decoration: underline;
}

#blazor-error-ui .dismiss {
  color: inherit;
  cursor: pointer;
  position: absolute;
  right: 0.75rem;
  top: 0.5rem;
}

#components-reconnect-modal {
  z-index: 9999 !important;
  background-color: var(--mud-palette-background) !important;

  h5 {
    font-size: 18px;
  }

  button {
    color: var(--mud-palette-text-primary);
    padding: 8px 16px;
    font-size: .875rem;
    min-width: 64px;
    box-sizing: border-box;
    transition: background-color 250ms cubic-bezier(.4,0,.2,1) 0ms,box-shadow 250ms cubic-bezier(.4,0,.2,1) 0ms,border 250ms cubic-bezier(.4,0,.2,1) 0ms;
    font-weight: 500;
    line-height: 1;
    border-radius: var(--mud-default-borderradius);
    letter-spacing: .02857em;
    text-transform: uppercase;
    margin: 40px auto !important;

    @media(hover: hover) and (pointer: fine) {
      &:hover {
        background-color: var(--mud-palette-action-default-hover);
      }
    }
  }
}
